package com.vegetable.modules.entity.dashboard;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 客户应收账款数据VO
 *
 * @author qoder
 * @since 2024-01-01
 */
@Data
@ApiModel(value = "CustomerReceivableVO", description = "客户应收账款数据")
public class CustomerReceivableVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "客户ID")
    private Long customerId;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "应收金额")
    private BigDecimal receivableAmount;

    @ApiModelProperty(value = "逾期金额")
    private BigDecimal overdueAmount;

    @ApiModelProperty(value = "最早逾期天数")
    private Integer overdueDays;

    @ApiModelProperty(value = "最后交易时间")
    private LocalDateTime lastTradeTime;

}